package com.wuchao.spring.aopPlus;

import com.wuchao.entity.User;

/**
 * @Author wuchao66
 * @Date 2022/7/4 9:58
 * @Version 1.0
 */
public class AopConstruorP {//P入参
    public  void show(){
        System.out.println(name+":"+id+":"+user.getName());
    }
    private  String name;
    private  int id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    private  User user;

}
